home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / fndation.arc / ENDOFDAY.BAT < prev    next >
DOS Batch File  |  1985-11-25  |  2KB  |  59 lines

  1. echo off
  2. cls
  3. c:
  4. cd\dos
  5. echo      You're about to make an ENDOFDAY-style backup of the 
  6. echo            information that has not been saved lately.
  7. echo     Would you like to go on with this?
  8. query
  9. if not errorlevel 1 goto end
  10. cls
  11. echo         Okay! You're going to need to put 
  12. type \dos\backup.msg
  13. echo into drive a: before you can go on to the next step.
  14. echo        Are you READY to continue?
  15. query
  16. if not errorlevel 1 goto end
  17. if exist \dos\*.msg erase \dos\*.msg
  18. backup c:\ a:/s/a/m
  19. echo This pause is intended to let you see if there are any messages from DOS.
  20. pause
  21. cls
  22. if errorlevel 4 goto failure
  23. if errorlevel 3 goto you-stop
  24. if errorlevel 1 goto nofiles
  25. basica backup
  26. cls
  27. echo Hurray! judging from the lack of error messages from DOS, It worked properly!
  28. echo        Okay...  You're all done! Now, take all of your backup disks
  29. echo                and HIDE THEM UNDER THE BED!
  30. echo If you would like to find out how to PROPERLY restore the information
  31. echo from floppy disks to your hard disk, please call
  32. echo                            ***
  33. echo               Tony Lindsey  (619) 295-2922
  34. echo                            ***
  35. echo               If you try to do it all alone, 
  36. echo        I WILL PERSONALLY TAKE A FLYSWATTER TO YOU!
  37. pause
  38. goto end
  39. :you-stop
  40. echo Evidently you told the computer to stop by pressing Control-Break...
  41. echo   That's fine, but PLEASE do another backup as SOON as possible!
  42. rebeep
  43. goto end
  44. :failure
  45. echo Evidently the disk you put in is NOT acceptable for some reason...
  46. echo    Call Tony at (619) 295-2922 if you have any questions...
  47. rebeep
  48. goto end
  49. :nofiles
  50. Echo Evidently the computer found no files to back up. This might or
  51. echo          might NOT be considered as good news.
  52. echo    Call Tony at (619) 295-2922 if you have any doubts!
  53. pause
  54. :end
  55. cls
  56. cd\dos
  57. type menu.txt
  58.  
  59.